[t:/]$ 지식_

nspr 4.7.3 cross build

2009/01/23

nspr : http://www.mozilla.org/projects/nspr/

넷스케이프 포터블 런타임. 포터블이라는데 생각만큼 크로스 빌드가 쉽지는 않다.

  1. 다운로드. ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases .
  2. x86으로 일단 빌드 ./configure --without-x
    make
  3. 해당 디렉토리를 복사해서 보관.
  4. 새로 압축을 풀어서 크로스 설정을 한다. CC=arm-linux-gcc CFLAGS=-fno-delete-null-pointer-checks ./configure --prefix=/dfb --host=arm-linux --build=i686-pc-linux-gnu --target=arm-linux --without-x
  5. nsinstall 을 복사 mozlilla/nsprpub/config 아래에 있는 nsinstall을 복사한다.
    즉 호스트 x86용에서 돌아가는 nsinstall 을 빌드 과정 중에 써야 하기 때문.
    스크래치 박스를 쓴다면 이런 과정이 필요없다.
  6. 빌드




공유하기













[t:/] is not "technology - root". dawnsea, rss